package com.wx_shop.api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.wx_shop.api.comm.ServiceCode;
import com.wx_shop.api.comm.exceptions.ResourceNotFoundException;

@Controller
@RequestMapping("test")
public class TestController {

	@RequestMapping("do01")
	public void test() {
		throw new ResourceNotFoundException(ServiceCode.STORE_NOT_ENOUGH);
	}
}
